SrcDir  = :
ObjDir  = :o:
App		= "autolaunch"

Sources = 						
		{SrcDir}globals.c		
		{SrcDir}start.c			
		{SrcDir}debug.c			
		{SrcDir}event.c			
		{SrcDir}file.c			
		{SrcDir}menu.c			
		{SrcDir}utils.c


Objects = 							
		{ObjDir}globals.c.obj		
		{ObjDir}start.c.obj			
		{ObjDir}debug.c.obj			
		{ObjDir}event.c.obj			
		{ObjDir}file.c.obj			
		{ObjDir}menu.c.obj			
		{ObjDir}utils.c.obj

{ObjDIR}{App}.res		autolaunch.r
	reziigs autolaunch.r -o {ObjDir}autolaunch.res

{App} 		{ObjDir}{App}.load {ObjDir}{App}.res
	duplicate -y -d {ObjDir}{App}.load autolaunch
	duplicate -y -r {ObjDir}{App}.res  autolaunch
	duplicateiigs -y -mac autolaunch :

{ObjDir}autolaunch.load			{Objects}
	LinkIIGS 
		"{CIIGSLibrary}"start.obj 
		{Objects} 
		-lib "{CIIGSLibrary}"clib 
		-lib "{CIIGSLibrary}"DTS.lib1.v1.0 
		-o {ObjDir}autolaunch.load  -t $B3

{ObjDir}globals.c.obj  globals.c autolaunch.h
	ciigs globals.c -o {ObjDir}

{ObjDir}start.c.obj  start.c autolaunch.h
	ciigs start.c -o {ObjDir}

{ObjDir}debug.c.obj  debug.c  autolaunch.h
	ciigs debug.c -o {ObjDir}

{ObjDir}event.c.obj  event.c autolaunch.h
	ciigs event.c -o {ObjDir}

{ObjDir}file.c.obj  file.c autolaunch.h
	ciigs file.c -o {ObjDir}

{ObjDir}menu.c.obj  menu.c autolaunch.h
	ciigs menu.c -o {ObjDir}

{ObjDir}utils.c.obj  utils.c autolaunch.h
	ciigs utils.c -o {ObjDir}


